/**
 * 
 */
package components;

import java.util.Vector;

public class NamedVector extends Vector
{

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -1206751421424501855L;

	/** The name. */
	String name;

	public NamedVector(String name)
	{
		this.name = name;
	}

	public NamedVector(String name, Object elements[])
	{
		this.name = name;
		for (int i = 0, n = elements.length; i < n; i++)
		{
			this.add(elements[i]);
		}
	}

	public String toString()
	{
		return "[" + this.name + "]";
	}
}
